package sctu.edu.java.year2016.team01.renxinpeng.day20160605.chapter11_3;

/**
 * Created by Zero on 2016/6/6.
 * 自定义异常。
 */
public class MyException extends Exception {

    public  MyException(int x,int y){


        System.out.println("发生异常：输入的数为负整数");

    }

}
